package com.guanjia.entity;

import java.sql.Date;

public class GongGao {
        private String name;
        private String content;
        private Date creattime;
        private String faburen;

    public GongGao() {
        super();
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    @Override
    protected void finalize() throws Throwable {
        super.finalize();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreattime() {
        return creattime;
    }

    public void setCreattime(Date creattime) {
        this.creattime = creattime;
    }

    public String getFaburen() {
        return faburen;
    }

    public void setFaburen(String faburen) {
        this.faburen = faburen;
    }

    public GongGao(String name, String content, Date creattime, String faburen) {
        this.name = name;
        this.content = content;
        this.creattime = creattime;
        this.faburen = faburen;

    }

    @Override
    public String toString() {
        return "GongGao{" +
                "name='" + name + '\'' +
                ", content='" + content + '\'' +
                ", creattime=" + creattime +
                ", faburen='" + faburen + '\'' +
                '}';
    }
}
